package com.example.hotelmanagement.mapper;

import com.example.hotelmanagement.entity.Staff;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StaffMapper {
    List<Staff> findAll();
    Staff findById(Integer staffId);
    Staff findByUserId(Integer userId);
    int insert(Staff staff);
    int update(Staff staff);
    int delete(Integer staffId);
}